package com.wolfsea.windowmanagerdemo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {

        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        show_window_btn.setOnClickListener {
            WindowViewBuilder.create(this@MainActivity).show()
        }

        show_window_btn2.setOnClickListener {
            WindowViewBuilder2.WindowViewBuilder2In.create(this).show()
        }
    }
}